From 12738a8eec8c28978599b9c11c61fb5b481799bf Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Wed, 13 Aug 2025 17:43:38 +0300 Subject: [PATCH] django: allow test.sh only for python3-django package No idea how this worked before. But the '/usr/bin/django-admin' is available only for python3-django Signed-off-by: Alexandru Ardelean --- lang/python/django/test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lang/python/django/test.sh b/lang/python/django/test.sh index b6e9a1ed68..6204b89325 100644 --- a/lang/python/django/test.sh +++ b/lang/python/django/test.sh @@ -1,5 +1,7 @@ #!/bin/sh +[ "python3-django" = "$1" ] || exit 0 + GOT_VER=$(/usr/bin/django-admin version) [ "$GOT_VER" = "$2" ] || { echo "Incorrect version: expected '$2' ; obtained '$GOT_VER'" -- 2.30.2